home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Electronics Plus 3
/
PC Electronics Plus 3.iso
/
pads
/
testdriv.bat
< prev
next >
Wrap
DOS Batch File
|
1993-07-26
|
2KB
|
91 lines
echo off
if exist \pperform.swp goto BADSWAP
if exist \logc2000.swp goto BADSWAP
:top1
front2
if errorlevel 99 goto top1
if errorlevel 6 goto end
if errorlevel 5 goto pedit
if errorlevel 4 goto plib
if errorlevel 3 goto cedit
if errorlevel 2 goto pcb
if errorlevel 1 goto logic
goto end
:plib
if not exist plib.exe goto bad
plib
goto top1
:pedit
if not exist pedit.exe goto bad
pedit /P /B pedit.tmp
goto top1
:cedit
if not exist pedit.exe goto bad
pedit /C /B pedit.tmp
goto top1
:pcb
if not exist pperftd.exe goto bad
cls
rem If you have a non VCPI compatible expanded memory driver loaded you
rem should disable it by inserting the appropiate command on the next line.
rem cemm off
pperftd /m
rem If you have a non VCPI compatible expanded memory driver loaded you
rem should enable it by inserting the appropiate command on the next line.
rem cemm on
goto top1
:logic
if not exist plogtd.exe goto bad
cls
rem If you have a non VCPI compatible expanded memory driver loaded you
rem should disable it by inserting the appropiate command on the next line.
rem cemm off
plogtd /m
rem If you have a non VCPI compatible expanded memory driver loaded you
rem should enable it by inserting the appropiate command on the next line.
rem cemm on
goto top1
:bad
echo Program not found!
pause
goto top1
:badswap
if exist \pperform.swp del \pperform.swp
if exist \logc2000.swp del \logc2000.swp
echo *
echo *****************************************************************************
echo A previous crash of a 386 application has probably left some lost clusters on
echo your hard drive. It is therefore suggested you run chkdsk /f or an equivalent
echo utility which is compatible with your disk manager.
echo *****************************************************************************
echo *
goto end
:end